<php>
    $importCheckBox = true;
</php>
<php>
    $field['value_array'] = explode(',', $field['value']);
</php>
<volist name="field.opt" id="option">
    <php>
        $checked = in_array($key,$field['value_array']) ? 'checked' : '';
        $inputId = "id_$field[name]_$key";
    </php>
    <input type="checkbox" value="{$key}" id="{$inputId}" class="oneplus-checkbox" data-field-name="{$field.name}" {$checked}/>
    <label for="{$inputId}">{$option|htmlspecialchars}</label>
    <input type="hidden" name="{$field.name}" class="oneplus-checkbox-hidden" data-field-name="{$field.name}" value="{$field.value}"/>
</volist>